package com.asj.house.service;

import com.asj.house.entity.HouseNotice;
import com.asj.house.returns.RespEntity;
import com.asj.house.vo.param.NoticeParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 公告表 服务类
 * </p>
 *
 * @author asj
 * @since 2021-03-16
 */
public interface HouseNoticeService extends IService<HouseNotice> {
    /**
     * 公告列表
     * @return
     */
    RespEntity<List<HouseNotice>> noticeList();

    /**
     * 发布公告
     * @param noticeParam
     * @return
     */
    RespEntity insertNotice(NoticeParam noticeParam);
}
